<%@ page import="org.*" %>
<%@ page import="java.util.*" %>
<%@ page language="java" 
    contentType="text/html; charset=windows-1256"
    pageEncoding="windows-1256"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
  html { height: 100% }
  body { height: 100%; margin: 0px; padding: 0px }
  #map_canvas { height: 100% }
</style>
<script type="text/javascript"
    src="http://maps.google.com/maps/api/js?sensor=true">
</script>
<script type="text/javascript">

  function initialize(lat,lng) {
    var latlng = new google.maps.LatLng(lat,lng);
    var myOptions = {
      zoom: 18,
      center: latlng,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var map = new google.maps.Map(document.getElementById("map_canvas"),myOptions);
    var marker = new google.maps.Marker({
        position: latlng,
        title:"Central Location"
    });
    marker.setMap(map);
   }

</script>
</head>
<!-- <body onload="initialize(40.8091,-73.9593)"> -->
  <% out.write("<body onload=\"initialize(" + (String)session.getAttribute("centreLat") + "," + (String)session.getAttribute("centreLng") + ")\"");%>
  <div id="map_canvas"> </div>
</body>
</html>